/*
 * GeneratorContext.java
 *
 * Copyright (c) 2008 Teamnet. All Rights Reserved.
 *
 * This source file may not be copied, modified or redistributed,
 * in whole or in part, in any form or for any reason, without the express
 * written consent of Teamnet.
 */

package ro.prjmanager.velocity;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.velocity.VelocityContext;
import ro.prjmanager.template.form.Form;
import ro.prjmanager.template.form.FormTemplate;

/**
 * This class is used to todo
 */
public class GeneratorContext extends VelocityContext {
    private static Log log = LogFactory.getLog(GeneratorContext.class);


    public GeneratorContext(Form templateObject) {
        this.put("form",templateObject);
    }
    public GeneratorContext(FormTemplate templateObject) {
        this.put("form",templateObject);
    }
}
